home *** CD-ROM | disk | FTP | other *** search
/ Stone Design / Stone Design.iso / Stone_Friends / Wave / WavesWorld / Source / Shaders / TexturingAndModeling:AProceduralApproach / KMShaders / flame.rib < prev    next >
Encoding:
Text File  |  1995-03-22  |  795 b   |  37 lines

  1. # modified by wave to reflect new shader names
  2. #
  3. # flame.rib
  4. #
  5. # Test file for the flame.sl shader.  see pp. 279-280
  6. #
  7. # Reference:
  8. #    _Texturing and Modeling: A Procedural Approach_, by David S. Ebert, ed.,
  9. #    F. Kenton Musgrave, Darwyn Peachey, Ken Perlin, and Steven Worley.
  10. #    Academic Press, 1994.  ISBN 0-12-228760-6.
  11. #
  12.  
  13. version 3.03
  14. ShadingRate 1
  15. PixelSamples 1 1
  16. Format 256 256 -1
  17.  
  18. Display "flame.tif" "file" "rgb"
  19.  
  20. Projection "perspective" "fov" 25
  21. Translate 0 0 4
  22. Rotate -90 1 0 0
  23. Translate 0 0 -0.8
  24.  
  25. WorldBegin
  26.  
  27.   AttributeBegin
  28.     Declare "flameheight" "float"
  29.     Declare "flameamplitude" "float"
  30.     Declare "chaosoffset" "float"
  31.     Surface "KMFlame" "flameheight" .5 "chaosoffset" 0.4
  32.     Patch "bilinear" "P" [-2 0 3   2 0 3  -2 0 -2  2 0 -2]
  33.   AttributeEnd
  34.  
  35. WorldEnd
  36.